package com.siyu.tickets.manager;


import com.siyu.common.hibernate3.Updater;
import com.siyu.common.page.Pagination;
import com.siyu.tickets.entity.Supplier;

public interface SupplierMng {

	public Pagination getPage(String name, Boolean enable, int pageNo, int pageSize);

	public Supplier findById(Integer id);

	public Supplier registSupplier(Supplier bean);

	public Supplier updateSupplier(Supplier bean);

	public Supplier updateByUpdater(Updater<Supplier> updater);

	public Supplier deleteById(Integer id);

	public Supplier[] deleteByIds(Integer[] ids);

	public Supplier[] enableByIds(Integer[] ids, Boolean enable);

}
